package com.nebula.commons.config;

/**
 * @Author Eastern unbeaten
 * @Email chenshiyun2011@163.com
 * @Date 2022/9/11 12:00 下午
 */

import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

import javax.annotation.PostConstruct;

@Slf4j
@Component
public class Construct {
    @Value("${xxoo}")
    String xxoo;

    @PostConstruct
    public void doConstruct() throws Exception {
        log.error("注意注意：" + xxoo);
        System.out.println("初始化：PostConstruct");
    }
}